Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from Ant to Gradle #389

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Switch from Ant to Gradle #389

merged 2 commits into from
Apr 18, 2024

Conversation

MrCreosote
Copy link
Member

No description provided.

@MrCreosote MrCreosote requested a review from Xiangs18 April 15, 2024 21:24
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Merging #389 (644f76b) into develop (25aafbe) will increase coverage by 0.00%.
Report is 1 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #389   +/-   ##
==========================================
  Coverage      93.65%   93.65%           
  Complexity      1590     1590           
==========================================
  Files            102      102           
  Lines           4743     4744    +1     
  Branches         828      828           
==========================================
+ Hits            4442     4443    +1     
  Misses           286      286           
  Partials          15       15           

Comment on lines +19 to +25
task buildGitCommitFile {
doLast {
def commitId = grgit.head().id
// is there a variable for builddir/classes/java/main?
file("$buildDir/classes/java/main/us/kbase/groups/gitcommit").text = commitId
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What benefits do we get for saving a commit in a file? Verification?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That commit winds up here: https://ci.kbase.us/services/groups/

so you know what code the server is running

@@ -77,10 +70,9 @@ jobs:
- name: Run tests
shell: bash
run: |
ant ${{matrix.ant_test}}
gradle ${{matrix.gradle_test}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run: ./gradlew test is sufficient? Probably don't need gradle_test: 'test' unless I am missing something important.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for now, but it's a placeholder in case we ever split out the mongo tests as noted in a TODO earlier in the file IIRC

Copy link
Collaborator

@Xiangs18 Xiangs18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrCreosote MrCreosote merged commit 49a327f into develop Apr 18, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants